feat(web-console): system info - suspension and configuration - #291
Merged
Conversation
…stdb/ui into web-console/suspended-tables
Contributor
Testing WAL suspension:
Valid error tags are: "DISK FULL", "TOO MANY OPEN FILES", "OUT OF MMAP AREAS" and "OUT OF MEMORY" |
Contributor
Testing server configuration warnings:
Testing server configuration warnings with simulation:
All warnings should include a link to a page in the docs relevant for the problem. Valid warning tags are: "UNSUPPORTED FILE SYSTEM", "TOO MANY OPEN FILES" and "OUT OF MMAP AREAS" |
…stdb/ui into web-console/suspended-tables
nwoolmer
approved these changes
Jul 15, 2024
nwoolmer
requested changes
Jul 15, 2024
nwoolmer
left a comment
Contributor
There was a problem hiding this comment.
Address feedback in Slack around tooltips for partition types.
…stdb/ui into web-console/suspended-tables
glasstiger
approved these changes
Jul 16, 2024
nwoolmer
approved these changes
Jul 16, 2024
Vaibhav91one
pushed a commit
to Vaibhav91one/ui
that referenced
this pull request
Oct 28, 2025
…b#291) * Fetch WAL Tables * Filtering * Suspended table indicator * Pass WAL data to tables, show suspension * TEMP: Use mocked query for `wal_tables()` * Toggle suspended filter * Suspended counter: adjust tooltip * Filter column names, refactor `information_schema.columns()` into store * Bring back `Add` feature * Suspension details popover component * Suspension popover: change types * Suspension Popover: trigger UI * Suspension popover: Add resume logic * Add OS-specific error code mapping * Refactor `<Schema>` to use state based views * Suspension Popover: fix DOM structure * Suspension Popover: updates, bring back mocks * Add clear query icon * Suspension Popover: add submit states * Toolbar: dim filter icon slightly * Add query highlighting * Remove mocks * Fix: loader state * change `errorCode` to `errorMessage` * Remove OS errorCodes utils * Cypress: Add tests around Tables UI * Add set of test scenarios for suspended tables * Adjust the default timeout for CI purposes * Add error tag support * Refactor tests to use `SUSPEND WAL` instead of `wal_tables()` mocks * Adjust schema header actions UI * Hide suspended count with no suspended tables * Remove `Add` action on row hover/click * refactor `ErrorTag`, add new columns * Add Warning UI * Integrate the build SQL * Add Partition type * Add `Run` shortcut * fix failing cypress test * update questdb submodule * Revert "Integrate the build SQL" This reverts commit 0bb2959. * Revert "Add Warning UI" This reverts commit 58ea5e0. * Revert "refactor `ErrorTag`, add new columns" This reverts commit 46e1f56 * remove unnecessary import * Restart transaction -> Resume WAL * fixing merge * Fix issue with appending queries * simplify import * simplify import * Abtract out `Resume WAL` test * renaming error tags * Update suspension indications, remove table details * New table icons * Table icon tooltip * Table row cleanup * Create `SuspensionDialog` instead of popover * Refactor `SuspensionDialog` UI * `SuspensionDialog` styling updates * Update error messages, cleanup popover * Update tests * Add server message text * Change modal behaviour post restart * update OSS project * Add Warning logic mock * Make error tags generic * Integrate warnings with the API * Add warning test sheet * Update hooks for `schema.spec.js` * questdb submodule update * questdb submodule update * enable warnings simulation in cypress questdb instance * enable warnings simulation in cypress questdb instance * experiment * fix warning related test failure * Refactor warning tests from mock to SQL commands * Adjust the Tables UI styling * Restyle table icons * questdb submodule update * questdb submodule update * questdb submodule update * Fix table UI on small pane width * questdb submodule update * update oss check script * Add table icon tooltips * Adjust tooltip * tiny code cleanup --------- Co-authored-by: glasstiger <94906625+glasstiger@users.noreply.github.com> Co-authored-by: glasstiger <imre@questdb.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR depends on questdb/questdb#4607 and https://github.com/questdb/questdb-enterprise/pull/439
WAL tables can be suspended for writing for multiple reasons. This PR adds the indication and restart function into the UI, as well as other things in the Tables UI widget.
In addition to showing the suspension details, the popover contains
Restart transactionaction which could either be performed from the first applicable txn, or a specified number (optional)Side changes:
information_schema.columns()result in Redux, since it's shared by both Tables UI and SQL Editor, adjust the Editor's completion provider code to use redux selector.Tables - changes to the header action bar
Tables - list view with a suspended table
Tables - details of the suspended table as a popover
Filter by keyword
Test changes:
getByDataHook()andinterceptQuery(query, response), which are both self-explanatory.